package com.pingan.springboot_es_api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.frameworkset.orm.annotation.Column;
import com.frameworkset.orm.annotation.ESParentId;
import com.frameworkset.orm.annotation.PrimaryKey;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Kay on 2018/11/15
 * 随访信息
 */
public class Followup implements Serializable {
    private static final long  serialVersionUID = 1L;
    @ESParentId
    private String party_id;                        //父id
    @PrimaryKey
    private String flow_id;                         //flow_id
    private String sbp;                             //收缩压(mmHg)
    private String dbp;                             //舒张压(mmHg)
    private String weight;                          //体重(kg)
    private String throb_flag_code;               // 足背动脉搏动标志
    private String day_smoking_quantity;               // 日吸烟量(支)
    private String day_wine_quantity;               // 日饮酒量(两)
    private String gainsalt_code;                 // 摄盐量分级代码
    private String glu;                             // 空腹血糖值(mmol/L)
    private String glu_2h;                             // 餐后两小时血糖值(mmol/L)
    private String hbalc;                             // 糖化血红蛋白值(%)
    private String low_bloodsugar_desc;              // 低血糖反应描述
    private String drug_name;                          // 药物名称
    private String drug_freq;                           //药物使用频率
    private String drug_unit;                              // 药物使用剂量单位
    private String drug_per_dose;                           // 药物使用次剂量
    private String insulin_type_1;                          //胰岛素用药种类
    private String insulin_freq_1;                          // 胰岛素用药使用频次(次/d)
    private String insulin_dose_1;                          //胰岛素用药次剂量(U)
    private String symptom_name;                        // 症状名称
    private String nephrosis_flag;                        // 并发症肾病代码
    private String retina_flag;                            // 并发症视网膜代码
    private String nervus_flag;                            // 并发症神经代码
    private String skin_flag;                               // 并发症皮肤代码
    private String highblood_compl;                         //并发症补充说明
    private String drug_info;                        // 药物信息
    private String insulin_info;                        // 胰岛素信息
    private String complication_info;                        // 并发症信息
    private Integer age;                                     //年龄 排序用，已暂停使用

    @JsonFormat(pattern = "yyyyMMdd")
    @Column(dataformat = "yyyyMMdd")
    private Date follow_date;                               // 随访日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(dataformat = "yyyy-MM-dd HH:mm:ss")
    private Date created_date;                           // 创建日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(dataformat = "yyyy-MM-dd HH:mm:ss")
    private Date last_modified_date;                    //最后修改日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(dataformat = "yyyy-MM-dd HH:mm:ss")
    private Date etl_dt;                                    //etl时间戳

    public String getDrug_name() {
        return drug_name;
    }

    public void setDrug_name(String drug_name) {
        this.drug_name = drug_name;
    }

    public String getDrug_freq() {
        return drug_freq;
    }

    public void setDrug_freq(String drug_freq) {
        this.drug_freq = drug_freq;
    }

    public String getDrug_unit() {
        return drug_unit;
    }

    public void setDrug_unit(String drug_unit) {
        this.drug_unit = drug_unit;
    }

    public String getDrug_per_dose() {
        return drug_per_dose;
    }

    public void setDrug_per_dose(String drug_per_dose) {
        this.drug_per_dose = drug_per_dose;
    }

    public String getInsulin_type_1() {
        return insulin_type_1;
    }

    public void setInsulin_type_1(String insulin_type_1) {
        this.insulin_type_1 = insulin_type_1;
    }

    public String getInsulin_freq_1() {
        return insulin_freq_1;
    }

    public void setInsulin_freq_1(String insulin_freq_1) {
        this.insulin_freq_1 = insulin_freq_1;
    }

    public String getInsulin_dose_1() {
        return insulin_dose_1;
    }

    public void setInsulin_dose_1(String insulin_dose_1) {
        this.insulin_dose_1 = insulin_dose_1;
    }

    public String getNephrosis_flag() {
        return nephrosis_flag;
    }

    public void setNephrosis_flag(String nephrosis_flag) {
        this.nephrosis_flag = nephrosis_flag;
    }

    public String getRetina_flag() {
        return retina_flag;
    }

    public void setRetina_flag(String retina_flag) {
        this.retina_flag = retina_flag;
    }

    public String getNervus_flag() {
        return nervus_flag;
    }

    public void setNervus_flag(String nervus_flag) {
        this.nervus_flag = nervus_flag;
    }

    public String getSkin_flag() {
        return skin_flag;
    }

    public void setSkin_flag(String skin_flag) {
        this.skin_flag = skin_flag;
    }

    public String getHighblood_compl() {
        return highblood_compl;
    }

    public void setHighblood_compl(String highblood_compl) {
        this.highblood_compl = highblood_compl;
    }

    public String getParty_id() {
        return party_id;
    }

    public void setParty_id(String party_id) {
        this.party_id = party_id;
    }

    public String getFlow_id() {
        return flow_id;
    }

    public void setFlow_id(String flow_id) {
        this.flow_id = flow_id;
    }

    public String getSbp() {
        return sbp;
    }

    public void setSbp(String sbp) {
        this.sbp = sbp;
    }

    public String getDbp() {
        return dbp;
    }

    public void setDbp(String dbp) {
        this.dbp = dbp;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getThrob_flag_code() {
        return throb_flag_code;
    }

    public void setThrob_flag_code(String throb_flag_code) {
        this.throb_flag_code = throb_flag_code;
    }

    public String getDay_smoking_quantity() {
        return day_smoking_quantity;
    }

    public void setDay_smoking_quantity(String day_smoking_quantity) {
        this.day_smoking_quantity = day_smoking_quantity;
    }

    public String getDay_wine_quantity() {
        return day_wine_quantity;
    }

    public void setDay_wine_quantity(String day_wine_quantity) {
        this.day_wine_quantity = day_wine_quantity;
    }

    public String getGainsalt_code() {
        return gainsalt_code;
    }

    public void setGainsalt_code(String gainsalt_code) {
        this.gainsalt_code = gainsalt_code;
    }

    public String getGlu() {
        return glu;
    }

    public void setGlu(String glu) {
        this.glu = glu;
    }

    public String getGlu_2h() {
        return glu_2h;
    }

    public void setGlu_2h(String glu_2h) {
        this.glu_2h = glu_2h;
    }

    public String getHbalc() {
        return hbalc;
    }

    public void setHbalc(String hbalc) {
        this.hbalc = hbalc;
    }

    public String getLow_bloodsugar_desc() {
        return low_bloodsugar_desc;
    }

    public void setLow_bloodsugar_desc(String low_bloodsugar_desc) {
        this.low_bloodsugar_desc = low_bloodsugar_desc;
    }

    public String getDrug_info() {
        return drug_info;
    }

    public void setDrug_info(String drug_info) {
        this.drug_info = drug_info;
    }

    public String getInsulin_info() {
        return insulin_info;
    }

    public void setInsulin_info(String insulin_info) {
        this.insulin_info = insulin_info;
    }

    public String getSymptom_name() {
        return symptom_name;
    }

    public void setSymptom_name(String symptom_name) {
        this.symptom_name = symptom_name;
    }

    public String getComplication_info() {
        return complication_info;
    }

    public void setComplication_info(String complication_info) {
        this.complication_info = complication_info;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getFollow_date() {
        return follow_date;
    }

    public void setFollow_date(Date follow_date) {
        this.follow_date = follow_date;
    }

    public Date getCreated_date() {
        return created_date;
    }

    public void setCreated_date(Date created_date) {
        this.created_date = created_date;
    }

    public Date getLast_modified_date() {
        return last_modified_date;
    }

    public void setLast_modified_date(Date last_modified_date) {
        this.last_modified_date = last_modified_date;
    }

    public Date getEtl_dt() {
        return etl_dt;
    }

    public void setEtl_dt(Date etl_dt) {
        this.etl_dt = etl_dt;
    }

    public Followup() {
    }

    @Override
    public String toString() {
        return "Followup{" +
                "party_id='" + party_id + '\'' +
                ", flow_id='" + flow_id + '\'' +
                ", sbp='" + sbp + '\'' +
                ", dbp='" + dbp + '\'' +
                ", weight='" + weight + '\'' +
                ", throb_flag_code='" + throb_flag_code + '\'' +
                ", day_smoking_quantity='" + day_smoking_quantity + '\'' +
                ", day_wine_quantity='" + day_wine_quantity + '\'' +
                ", gainsalt_code='" + gainsalt_code + '\'' +
                ", glu='" + glu + '\'' +
                ", glu_2h='" + glu_2h + '\'' +
                ", hbalc='" + hbalc + '\'' +
                ", low_bloodsugar_desc='" + low_bloodsugar_desc + '\'' +
                ", drug_info='" + drug_info + '\'' +
                ", insulin_info='" + insulin_info + '\'' +
                ", symptom_name='" + symptom_name + '\'' +
                ", complication_info='" + complication_info + '\'' +
                ", age=" + age +
                ", follow_date=" + follow_date +
                ", created_date=" + created_date +
                ", last_modified_date=" + last_modified_date +
                ", etl_dt=" + etl_dt +
                '}';
    }
}
